Platform Explorer / Nuxeo Platform LTS 2017 9.10

Extension point sorter

Documentation

ConnectionException RemoteDatabaseAccess 08001

SQL Exceptions thrown are checked by the datasource for stating if the connnection should be evicted from the pool. The datasource exception sorter enable you to contribute fatal sqlcodes for a defined database. Each sorter contribution are identified uniquely by it's id. You could override or extend a sorted configuration using the override attribute. Once a exception is thrown a sorter configuration is selected by comparing the exception stack trace packages with the path package attribute. If a package in the stack trace is starting by the path, this sorter configuration is selected. If no sorter configuration is matching the strack trace, the sorter configuration identified by the empty string is selected.

The contributed SQL codes could be a classcode or a complete sqlcode. For easier configuration, you could use the enumeration labels defined for the standard SQL in org.nuxeo.runtime.datasource.DatasourceExceptionSorter.Classcode.

Contribution Descriptors

  • Class: org.nuxeo.runtime.datasource.DatasourceExceptionSorter.Configuration

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.